def convert(data):
    data = data.strip('\n')
    data = data.replace("\r","")
    p=0
    while True:
        p = data.find("\n",p+1)
        if p < 0:
            break
        prev = data[p-1]
        next = data[p+1]
        # print("p={}\tprev={}\tnext={}".format(p,prev,next))
        if prev.isalnum() or prev in [',',':',')',';','%','×','-']:
            data = data[:p]+' '+data[p+1:]
    return data